import * as vscode from 'vscode';
import { ProviderResult } from 'vscode';
import { CloudDebugSession } from '../cloud-debug-session';

export class InlineDebugAdapterDescriptorFactory
  implements vscode.DebugAdapterDescriptorFactory
{
  createDebugAdapterDescriptor(
    _session: vscode.DebugSession,
  ): ProviderResult<vscode.DebugAdapterDescriptor> {
    return new vscode.DebugAdapterInlineImplementation(new CloudDebugSession());
  }

  dispose(): void {
    // xxx
  }
}
